home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0195.lzh / AMOSLIST / text0214.txt < prev    next >
Encoding:
Text File  |  1995-02-01  |  1.5 KB  |  44 lines

  1. To clear up the confusion, to remove an assign, made with the assign
  2. command such as AMOSPro_System: or a default assign such as C: or LIBS:,
  3. you simply type:
  4.  
  5. Assign <VOLUME_NAME>
  6.  
  7. e.g.
  8.  
  9. Assign C:
  10.  
  11.  
  12. However, if you want from "remove" a real device, such as "DF0:", then you
  13. must use the DISMOUNT keyword e.g.
  14.  
  15. Assign PAR: DISMOUNT
  16. Assign DF0: DISMOUNT
  17.  
  18. Using the later assign, it is possible to fool some floppy drive only
  19. programs into using a hard drive directory (Simply reassign Df0: afterwards).
  20.  
  21. NOTE: You can't remount some devices again afterwards, Df0: being an example.
  22.  
  23. As for the REMOVE keyword for assign, I'm not sure, it may be a synonym for
  24. DISMOUNT under 1.3 - check the amiga dos manual. 
  25.  
  26. Also, under 2.04+, each program can use PROGDIR: for the directory it was
  27. run from. For interpreted AMOS programs, this is the directory AMOS was
  28. run from.
  29.  
  30.  
  31. -- 
  32.  
  33. +-------------------------+------------------------------------+
  34. |                         |    _____                           |
  35. | PAUL HICKMAN            |   /     \   ON A HOT SUMMER NIGHT  |
  36. | (ph@doc.ic.ac.uk)       |  /  O O  \  WOULD YOU  OFFER YOUR  |
  37. | DEPARTMENT OF COMPUTING | |    _    | THROAT  TO  THE  WOLF  |
  38. | IMPERIAL COLLEGE LONDON |  \  / \  /  WITH THE RED  ROSES ?  |
  39. |                         |   \_____/                          |
  40. +-------------------------+------------------------------------+
  41. Machines: Amiga 500  WB1.3 - 1mb Memory - External Disk Drive.
  42.           Amiga 1200 WB3.0 - 6mb Memory - 200Mb Hard Disk.
  43.  
  44.